#include "framebuffer.h"

#define GLEW_STATIC
#include <gl\glew.h>

void color_buffer::clear(double r_, double g_, double b_, double a_)
{
	glClearColor(r_, g_, b_, a_);
	glClear(GL_COLOR_BUFFER_BIT);
}

void depth_buffer::clear(double d_)
{
	glClearDepth(d_);
	glClear(GL_DEPTH_BUFFER_BIT);
}
